package org.tysite.tyservice.example.validation.dto;

import org.tysite.tyservice.example.validation.annotation.DemoName;

import java.io.Serializable;

/**
 * 自定义注解验证演示DTO
 * @author tysite
 * @date 2020/3/22 0022 20:48
 */
public class CustomVerifyDTO implements Serializable {
    
    private static final long serialVersionUID = 3132151496007667172L;
    @DemoName
    private String name;
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Override
    public String toString() {
        return "CustomValidationDTO{" +
            "name='" + name + '\'' +
            '}';
    }
}
